home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / 3D QuickTime Dynamics / kSan Headers / noseCellResizePlugIn.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-24  |  941 b   |  32 lines

  1. #ifndef __NoseResizePlugIn__
  2. #define __NoseResizePlugIn__
  3. #include "kSanCellResizePlugIn.h"
  4.  
  5. #define     kNoseCellResizeDialogResID 156
  6.  
  7. #define iNoseDensityItem 3
  8. #define iNoseTimeConstItem 4
  9.  
  10.  
  11. typedef struct noseCellResizePlugInType 
  12. {
  13.     double lastResizeTime;
  14.     double noseTimeConst;
  15.     double noseMass;
  16.      kSanVector noseVelocity;
  17. }
  18. noseCellResizePlugIn;
  19.  
  20. #define ncrData(obj) ((noseCellResizePlugIn *)kozoObjectGetPrivateData(obj, ClassNoseCellResizePlugIn))
  21.  
  22.  
  23. short noseCellResizerConstructor (KozoDispatchStack *ds, constructorMethodArgs *cma);
  24. short noseCellResizerDestructor (KozoDispatchStack *ds, destructorMethodArgs* dma);
  25. short noseCellResizerGetData (KozoDispatchStack *ds, getMethodArgs *gma);
  26. short noseCellResizerSetData (KozoDispatchStack *ds, setMethodArgs *sma);
  27. short noseCellResizerDoMessage (KozoDispatchStack *ds, doMessageMethodArgs *dmma);
  28. short noseCellResize (  kSanCellResizePlugIn *api, kSanSimulation *sim);
  29.  
  30. #endif
  31.  
  32.